package anayler;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import anayler.Anayler;
import collector.Collector;
@Component
public class FactorAnalyser implements Anayler {
//	@Autowired
//	@Qualifier(value="nc")
	@Resource(name="nc")
	private Collector collector;
	
	@Override
	public void anaylyes() {
		collector.collect();
		System.out.println("Analyes factor...");
	}

}
